00:00
03:52

Hands-on Lab: Creating a Watson Studio Project with Jupyter Notebooks

Duration: 20 mins

Objective

After completing this lab, you will be able to-

  • Setup Watson Studio service on IBM Cloud
  • Create project in Watson Studio
  • Add an interactive Python notebook to a project in Watson Studio

You will then proceed to next part of this lab instructions which will guide you on how to work with Jupyter Notebooks.

Pre-requisite

You need an IBM Cloud account to work with Jupyter labs in Watson Studio. If you don't have an account created already, click and open this link and follow the instructions, to create an IBM Cloud account.

Task 1: For New Users (with no Watson service):

If you have created a Watson service before, proceed to to Task 2:

  1. Click here to go to the IBM Cloud Watson Studio page.

  2. To create a Watson service, choose a region that offers Lite plan, then choose the Lite plan from the list and click Create. In the image below, the Lite plan is chosen for “Dallas” region.



  1. On the Watson Studio page, click on Launch in IBM Cloud Pak for Data.

Task 2: For Existing Users (who already have Watson Service):

  1. Go to the IBM Resources List

    Resources List

  2. When you click on Services, all your existing services will be shown in the list. Click the Watson Studio service you created:



  1. On the Watson Studio page, click on Launch in IBM Cloud Pak for Data.

Task 3: Creating a new project

  1. Select New Project and click on Next.


  1. On the Create project page, enter Project Name and Description.


  1. You must create a storage cloud service for each project. Scroll down and click on Add under Define Storage to add a storage.

Note: If you already have a Cloud Object Storage created in your IBM cloud account (as seen in the screenshot of previous step), then you can skip Step 3, Step 4 and Step 5.



  1. On the Cloud Object Storage page, choose Lite and click on Create.


  1. On the Create project page, click Refresh.


  1. You will see that a new storage has been added. Now click Create to create a new project.


  1. After creating the project you can start with either a new blank project or select a file from an existing project to import.



Task 4: Adding Jupyter Notebook to Watson Studio Project

  1. On the project Overview page, you will notice several options to get started with the project. Click on Work with data and models in Python or R Notebooks.
**OR**



Alernatively, you can click on Assets tab and then click New asset. Now click on Work with data and models in Python or R Notebooks.



  1. On the Work with data and models in Python or R Notebooks page
  • Select New to add a blank new Jupyter notebook to your project
  • Enter a name and optional description for the notebook
  • Specify the language as Python or R depending on the type of environment you are working for your project.
    In this lab, we are choosing the Runtime as Python.
  • Click Create.


  • Wait until the notebook appears. It will take few mins to initate Jupyter kernel.

  • Now you are ready to code with a new blank Jupter Notebook. You can observe that a blank cell (rendered as 'Code' ) is already added.

This concludes this tutorial.

Author(s)

Romeo